package com.ssm.mapper;

import com.ssm.entity.SysResourceUrl;
import com.ssm.entity.SysRoleResourceUrl_2;
import com.ssm.entity.SysRoleResourceUrlExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleResourceUrlMapper_2 {
    int countByExample(SysRoleResourceUrlExample example);

    int deleteByExample(SysRoleResourceUrlExample example);

    int deleteByPrimaryKey(SysRoleResourceUrl_2 key);

    int insert(SysRoleResourceUrl_2 record);

    int insertSelective(SysRoleResourceUrl_2 record);

    List<SysRoleResourceUrl_2> selectByExample(SysRoleResourceUrlExample example);

    int updateByExampleSelective(@Param("record") SysRoleResourceUrl_2 record, @Param("example") SysRoleResourceUrlExample example);

    int updateByExample(@Param("record") SysRoleResourceUrl_2 record, @Param("example") SysRoleResourceUrlExample example);

    List<SysRoleResourceUrl_2> getAllResourceURLByRole(String role);

    List<SysResourceUrl> getAllURLIDFromRoleResourceURL();

}